<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <script type="text/javascript">
            djConfig =
                {
                isDebug: true,
                parseOnLoad: true
            };
        </script>
        <script type="text/javascript" src="resources/dojotoolkit/dojo/dojo.js" >
        </script>
        <script type="text/javascript" src="resources/NanoSN/config.js">
        </script>
        <script type="text/javascript">
            dojo.require("dijit.layout.BorderContainer");
            dojo.require("dijit.layout.ContentPane");
            dojo.require("nanosn.widgets.crud.CRUD");


            function showCrud()
            {
                a = new nanosn.widgets.crud.CRUD(
                {
                    url: '/NanoSNFramework-AdminTest/REST/Polls/'
                });
                a.startup();
                dojo.byId("center").appendChild(a.domNode);
                

            }

        </script>
        <style type="text/css">
            @import "resources/dojotoolkit/dojo/resources/dojo.css";
            @import "resources/dojotoolkit/dijit/themes/tundra/tundra.css";
            @import "resources/afitco/eTajer/themes/eTajer.css";

            html, body, #main
            {
                width: 100%;	/* make the body expand to fill the visible window */
                height: 100%;
                /*overflow: hidden;*/	/* erase window level scrollbars */
                padding: 0 0 0 0;
                margin: 0 0 0 0;
                font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif;
            }

        </style>

    </head>
    <body class="tundra">
        <div dojoType="dijit.layout.BorderContainer"
             id="main"
             design="headline">

            <div dojoType="dijit.layout.ContentPane"
                 region="top" style="height: 100px;"
                 >
            </div>

            <div dojoType="dijit.layout.ContentPane"
                 splitter="true"
                 region="left"
                 style="position:relative; width: 200px"
                 >
                <ul>
                    <li onclick="showCrud();">Sweet</li>
                </ul>
            </div>

            <div dojoType="dijit.layout.ContentPane"
                 splitter="true"
                 region="center"
                 id="center">
                <div
                    dojoType="nanosn.widgets.crud.CRUD"
                    url="'/NanoSNFramework-AdminTest/REST/Polls/'"
                    style="width:100%; height:100%">

                    sutff goes here
                </div>
            </div>

        </div>
    </body>
</html>
